-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fixes DCMotor clipping for negative power and adds actuator tests #2300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fixes DCMotor clipping for negative power and adds actuator tests #2300
Conversation
hmm looks like the DC motor and environment tests are both failing, along with a few others, but not sure if they are all related to this change |
It seems there is something happening with the ActuatorNetLSTM actuators in AnymalC that is producing nan values. Will continue investigating. @Mayankm96 anything about this spark ideas? |
Signed-off-by: James Tigue <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Description
This PR adds tests for actuator initialization, configuration, and computation for Implicit, IdealPD, and DC motor actuators.
This PR also updates the DCMotor model to clip based on a four quadrant DC motor model. This will fix improper clipping in the negative power regions (i.e. positive torque and negative velocity or negative torque and positive velocity).
NOTE: This PR is dependant on the pytest migration in: 2034
This PR includes changes made in 2291 and would be an alternate candidate.
Fixes #2139
Type of change
Screenshots
Checklist
pre-commit
checks with./isaaclab.sh --format
config/extension.toml
fileCONTRIBUTORS.md
or my name already exists there